﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using personalplaner.common.controls;
using personalplaner.gui.stamm.viewmodels;

namespace personalplaner.gui.stamm.windows
{
	/// <summary>
	/// Interaction logic for EditDaysInMonth.xaml
	/// </summary>
	public partial class EditDaysInMonth : WindowExt
	{
		public EditDaysInMonth()
		{
			InitializeComponent();
		}

		public void SelectMonth(int atid)
		{
			var dc = DataContext as EditDaysInMonthViewModel;
			if (dc == null)
				return;

			dc.SelectMonth(atid);
		}
	}
}
